.mat-card.breadcrumb-card {
  padding: 0;
  width: 100%;
  height: 24px;
  display: flex;

  .scroll-button {
    height: 100%;
    background-color: rgb(243, 243, 243);
    border: none;
    cursor: pointer;

    &.hidden {
      visibility: hidden;
    }
  }

  .breadcrumbs {
    overflow-x: auto;
    white-space: nowrap;
    display: inline-block;
    width: calc(100% - 50px);
    height: 100%;
    scroll-behavior: smooth;

    &::-webkit-scrollbar {
      display: none;
    }

    button {
      &.selected {
        background-color: rgb(243, 243, 243);
      }
    }
  }

  .mat-button {
    height: 20px;
    line-height: 20px;
    font-size: 11px;
    margin-right: 5px;
    width: fit-content;
    color: #8a1882;

    &:hover {
      background-color: #ebf1fb;
    }
  }
}

:host-context(.dark-theme) {
  .mat-card {
    &.breadcrumb-card {
      .scroll-button {
        background-color: rgb(41, 42, 45);
        color: #ffffff;
      }

      .breadcrumbs {
        button {
          &.selected {
            background-color: rgb(41, 42, 45);
          }
        }
      }

      .mat-button {
        color: #5caace;
        &:hover {
          background-color: #093e69;
        }
      }
    }
  }
}
